//Handin 4 - Due 3/10 2011
//Author Johan Sivertsen

package handin_4;

public class PrimeRunner {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	
		PrimeGenerator prim = new PrimeGenerator();
		
		int target = 20;
		
		prim.nextPrime(target);
		if (prim.isPrime(target))
		{
			System.out.println(target+" er et primtal");
		}
		else 
		{
			System.out.println(target+" er IKKE et primtal");
		}
	}

}
